package com.zyn.qianwen.user.service;

import com.zyn.qianwen.user.entity.Result;
import com.zyn.qianwen.user.entity.TbLogin;

import javax.servlet.http.HttpServletRequest;

public interface UserService {
    Result login(TbLogin tbLogin);

    Result register(TbLogin tbLogin);

    Result userInfo(HttpServletRequest request);

    Result logout(HttpServletRequest request);

    Result sendCode(HttpServletRequest request, TbLogin tbLogin) throws Exception;
}
